<div class="pageContent"   layouth="1">
    <div class="pageFormContent">
       
     <form action="__URL__/edit" id="j_custom_form" class="pageForm form-validate" method="post" callback="navTabAjaxDone" noEnter>
        <div class="tab-content form-horizontal">
            <div class="form-group">
                <label for="j_account" class="col-sm-2 control-label">账户名：</label>
                <input type="text" size="30" class="form-control validate[required,custom[onlyLetterNumber],minSize[3]] required"  name="account" id="j_account" value="{$user['account']}"  >
               
            </div>
        </div>
        <div class="tab-content form-horizontal">
            <div class="form-group">
                <label for="j_nickname" class="control-label col-sm-2 ">公司名称：</label>
               
                <input type="text" class="form-control validate[required] required" size="30" name="nickname" id="j_nickname" value="{$user['nickname']}" >
               
            </div>
        </div>
        <div class="tab-content form-horizontal">
            <div class="form-group">
                    <label for="j_email" class="control-label col-sm-2">邮箱:</label>
                    <input type="text" class="form-control validate[required,custom[email]] required" size="30" name="email" id="j_email" value="{$user['email']}" >
            </div>
        </div>
        <div class="tab-content form-horizontal">
            <div class="form-group">
                    <label for="j_mobile" class="control-label col-sm-2">联系手机号码:</label>
                    <input type="text" class="form-control validate[required,custom[mobile]] required" size="30" name="mobile" id="j_mobile" value="{$user['mobile']}" >
            </div>
        </div>
        <div class="tab-content form-horizontal">
           <div class="form-group">
                <label for="j_password" class="control-label col-sm-2">修改密码:</label>
                <a href="{:U('Public/password')}" target="dialog" mask="true" rel="changepwd_page" width="400" height="260"><button type="button" class="btn btn-primary btn-sm">修改密码</button></a>
           </div>
        </div>
        <if condition="session('userid') neq 1">
        <div class="tab-content form-horizontal">
            <div class="form-group">
                <label for="j_status" class="control-label col-sm-2 ">状态：</label>
              
               <select name="status"  data-container="body"  id="j_status" class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                        <if condition="$user['status'] eq 1"> 
                            <option value="1" selected>启用</option>
                            <option value="0">禁用</option>
                        <else/>
                            <option value="1">启用</option>
                            <option value="0" selected>禁用</option>
                        </if>    
                 </select>
                
            </div>
        </div>
        <else/>
                                      
        </if>
        <div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-default btn-sm">保存</button></li>
                <li><button type="button" url="__URL__" class="btn btn-close btn-sm ">取消</button></li>
            </ul>
        </div>
        
    </form>

    
    </div>
    </div>
    </div>